More build fixes for latest binutils. No 'movl' between
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 15 Sep 2005 07:21:31 +0000 (07:21 +0000)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 15 Sep 2005 07:21:31 +0000 (07:21 +0000)
a segment register and memory location.

Signed-off-by: Keir Fraser <keir@xensource.com>
linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/mmu_context.h

index 9558ddc04565919720400a314412f06a2a694716..f7580d3b0cbc6f3082ff490444ca8c16f80ff268 100644 (file)
@@ -35,7 +35,7 @@ static inline void __prepare_arch_switch(void)
         * of cr3/ldt (i.e., not in __switch_to).
         */
        __asm__ __volatile__ (
-               "movl %%es,%0 ; movl %%ds,%1 ; movl %%fs,%2 ; movl %%gs,%3"
+               "mov %%es,%0 ; mov %%ds,%1 ; mov %%fs,%2 ; mov %%gs,%3"
                : "=m" (current->thread.es),
                  "=m" (current->thread.ds),
                  "=m" (current->thread.fsindex),